package com.hzqy.persistence.dao.itf;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.vo.CmContentVo;
import com.hzqy.web.vo.PmsOrgVo;
import com.hzqy.web.vo.StatDataAdvertisingStatisticsVo;
import com.hzqy.web.vo.SysProductVo;
import com.hzqy.web.vo.UserBillVo;

@Repository
public class HotelItfDao extends PersistenceDao<PmsOrgVo, Integer>{

	protected final Logger LOG = LoggerFactory.getLogger(getClass());
	
	public PmsOrgVo selectOrgByContentId(String f_cc_name) {
		return getSqlSession().selectOne(this.getNamespace() + "selectOrgByContentId", f_cc_name);
	}
	
	public int insertUserBill(UserBillVo userBillVo) {
		String namespace = this.getNamespace();
		return getSqlSession().insert(namespace + "insertUserBill", userBillVo);
	}
	
//	public int deleteAdvertisingDay(StatDataAdvertisingStatisticsVo sdasVo) {
//		String namespace = this.getNamespace();
//		return getSqlSession().delete(namespace + "deleteAdvertisingDay", sdasVo);
//	}
//
//	public int insertAdvertisingDay(StatDataAdvertisingStatisticsVo sdasVo) {
//		String namespace = this.getNamespace();
//		return getSqlSession().insert(namespace + "insertAdvertisingDay", sdasVo);
//	}
}
